<%@ page language="java" pageEncoding="UTF-8"
	errorPage="../../defaultException.jsp"%>
<%@include file="../../tags.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>添加目的地特色信息</title>
<%@include file="../../head.jsp"%>
<style type="text/css">


.t2{
    border:1px solid #9db3c5;
    color:#666;
}
.t2 th {
    height:30px;
    border:1px solid #a7d1fd;
    padding:0 2px 0;
}
.t2 td{
    border:1px solid #cad9ea;
    padding:0 2px 0;
}

</style>
</head>
<body>
	<div >已创建菜单信息：</div>
	<%-- 
	<c:forEach var="menus" items="${menu.button }">
		<div class="menuinfo">
			<div class="menuitem">响应动作类型:${menus.type }</div>
			<div class="menuitem">菜单标题:${menus.name }</div>
			<div class="menuitem">菜单KEY值:${menus.key }</div>
			<div class="menuitem">菜单可打开链接:${menus.url }</div>
			<div class="menuitem">
				子菜单:
				<c:if test="${menus.sub_button eq null}">无</c:if>
				<c:if test="${menus.sub_button ne null}">
					<c:forEach var="men" items="${menus.sub_button }">
						<div class="items">响应动作类型:${men.type }</div>
						<div class="items">菜单标题:${men.name }</div>
						<div class="items">菜单KEY值:${men.key }</div>
						<div class="items">菜单可打开链接:${men.url }</div>
					</c:forEach>
				</c:if>
			</div>
		</div>
	</c:forEach>
--%>
	<table class="t2">
		<tr>
			<th>响应动作类型</th>
			<th>菜单标题</th>
			<th>菜单KEY值</th>
			<th>可打开链接</th>
			<th>子菜单</th>
		</tr>
		<c:forEach var="menus" items="${menu.button }">
			<tr>
				<td>${menus.type }</td>
				<td>${menus.name }</td>
				<td>${menus.key }</td>
				<td>${menus.url }</td>
				<td><c:if test="${menus.sub_button eq null}">无</c:if> <c:if
						test="${menus.sub_button ne null}">
						<table>
							<tr>
								<th>响应动作类型</th>
								<th>菜单标题</th>
								<th>菜单KEY值</th>
								<th>可打开链接</th>
							</tr>
							<c:forEach var="men" items="${menus.sub_button }">
								<tr>
									<td>${men.type }</td>
									<td>${men.name }</td>
									<td>${men.key }</td>
									<td>${men.url }</td>
								</tr>
							</c:forEach>
						</table>
					</c:if></td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>